package com.haoshui.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.haoshui.domain.entity.Menu;

import java.util.List;


/**
 * 菜单权限表(Menu)表数据库访问层
 *
 * @author makejava
 * @since 2022-09-30 20:35:22
 */
public interface MenuMapper extends BaseMapper<Menu> {


    List<String> selectPermsByUerId(Long userId);

    List<Menu> selectMenuForSuperUser(Long userId);

    List<Menu> selectMenuByUserId(Long userId);
}
